module.exports=(req, res, next) => {
    res.cc = function (err, status = 1) {
      res.send({ status, message: err instanceof Error ? err.message : err })
    }
    next()
  }